package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysTaskPlan;
import com.ruoyi.common.pojo.AddTaskPlanReq;
import com.ruoyi.common.pojo.GetUserTaskPlanReq;
import com.ruoyi.common.pojo.QueryTaskPlanListReq;
import com.ruoyi.common.pojo.UpdateTaskPlanReq;

/**
* @author syj
* @description 针对表【sys_task_plan】的数据库操作Service
* @createDate 2022-09-28 16:58:42
*/
public interface SysTaskPlanService extends IService<SysTaskPlan> {

    AjaxResult queryTaskPlan(QueryTaskPlanListReq param);

    AjaxResult getTaskPlan(Long id);

    AjaxResult addTaskPlan(AddTaskPlanReq param);

    AjaxResult editTaskPlan(UpdateTaskPlanReq param);

    AjaxResult publishTaskPlan(Long id);

    AjaxResult stopTaskPlan(Long id);

    AjaxResult deleteTaskPlan(Long id);

    AjaxResult getUserTaskPlan(GetUserTaskPlanReq param);

}
